package com.jml.annotation;


import java.lang.annotation.Annotation;
import java.lang.reflect.Field;
import java.math.BigDecimal;
import java.time.LocalDate;

/**
 * @author:jml
 * @date: 2019/10/21 10:03
 * @description：
 */
public class MainTest {
	
	public static void main(String[] args) {
		
		BigDecimal b1 = new BigDecimal("12");
		BigDecimal add = b1.add(null);
		System.out.println(add);
		
		ATest aTest = new ATest();
		aTest.setAaa("sadasda");
		Class<? extends ATest> aClass = aTest.getClass();
		
		/*LocalDate now = LocalDate.now();//今天
		LocalDate now1 = LocalDate.now();//大
		LocalDate mingtian = now.plusDays(1);//明天
		LocalDate localDate = now.minusDays(1);//昨天
		System.out.println(now);
		System.out.println(now1);
		System.out.println(localDate);
		
		boolean equal = now.isEqual(localDate);
		System.out.println(equal);
		boolean equal1 = now.isEqual(now1);
		System.out.println(equal1);
		
		boolean after = now.isAfter(localDate);
		System.out.println(after);
		boolean after1 = now.isAfter(now1);
		System.out.println(after1);
		
		int i = now.compareTo(localDate);
		int i1 = now.compareTo(now1);
		int i2 = now.compareTo(mingtian);
		System.out.println(i);
		System.out.println(i1);
		System.out.println(i2);*/
	}
	
}
